__all__ = [ "Rule"]

class Rule(object):
    """A rules class"""
    def __init__(self):
        # spinner data
        self.keys = []
        self.values = []
        self.shifts = []
        # the number of initial noise bytes from random spinner values
        self.spin_noise_count = 0
        # the required length of the entire code output
        # if required spun is padded with bytes from random spinner values
        # does not include eol
        self.spin_length = -1
        # is an eol added to the spun data
        # the eol added to the code
        self.eot_key = "\x04"

